/*
 * Created by LiuYou on 2020/11/25.
 *
 */

#include <iostream>
#include <memory>
#include "pc/Pc.hpp"
#include "pc/GraphicsCard.hpp"

using graphicscard::GraphicsCard;
using graphicscard::GraphicsCardImpl;

int main() {
    std::cout << "implementation" << std::endl;

    GraphicsCard graphicsCard(std::make_shared<GraphicsCardImpl>(100, "渲染效果好vs"));
    std::cout << graphicsCard.getPImpl()->getIdCard();
    std::cout << graphicsCard << std::endl;
    std::cout << graphicsCard.getPImpl()->getFeature() << std::endl;



    return 0;
}